package com.ruoyi.swla2.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小-抄数据(远传)对象 t_reading_history_data_yc
 * 
 * @author gdqt
 * @date 2025-04-19
 */
@TableName("t_reading_history_data_yc")
public class ReadingHistoryDataYc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户编号 */
    @Excel(name = "用户编号")
    @TableField("TerminalID")
    private String TerminalID;

    /** 租户ID */
    @Excel(name = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

    /** 本期读数 */
    @Excel(name = "本期读数")
    @TableField("TotalFlow")
    private BigDecimal TotalFlow;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField("CreateDate")
    private Date CreateDate;

    /** 抄表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "抄表时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField("ReadDate")
    private Date ReadDate;

    /** 平台表单自增主键 */
    @TableId(value="ID",type = IdType.AUTO)
    private Long ID;

    /** 正向流量 */
    @Excel(name = "正向流量")
    @TableField("ForwardFlow")
    private BigDecimal ForwardFlow;

    /** 反向流量 */
    @Excel(name = "反向流量")
    @TableField("ReverseFlow")
    private BigDecimal ReverseFlow;

    /** 瞬时流量 */
    @Excel(name = "瞬时流量")
    @TableField("instantFlow")
    private BigDecimal instantFlow;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("EasIonID")
    private String EasIonID;

    public void setTerminalID(String TerminalID) 
    {
        this.TerminalID = TerminalID;
    }

    public String getTerminalID() 
    {
        return TerminalID;
    }
    public void setTenantId(String tenantId) 
    {
        this.tenantId = tenantId;
    }

    public String getTenantId() 
    {
        return tenantId;
    }
    public void setTotalFlow(BigDecimal TotalFlow) 
    {
        this.TotalFlow = TotalFlow;
    }

    public BigDecimal getTotalFlow() 
    {
        return TotalFlow;
    }
    public void setCreateDate(Date CreateDate) 
    {
        this.CreateDate = CreateDate;
    }

    public Date getCreateDate() 
    {
        return CreateDate;
    }

    public Date getReadDate() {
        return ReadDate;
    }

    public void setReadDate(Date readDate) {
        ReadDate = readDate;
    }

    public void setID(Long ID)
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setForwardFlow(BigDecimal ForwardFlow) 
    {
        this.ForwardFlow = ForwardFlow;
    }

    public BigDecimal getForwardFlow() 
    {
        return ForwardFlow;
    }
    public void setReverseFlow(BigDecimal ReverseFlow) 
    {
        this.ReverseFlow = ReverseFlow;
    }

    public BigDecimal getReverseFlow() 
    {
        return ReverseFlow;
    }
    public void setInstantFlow(BigDecimal instantFlow) 
    {
        this.instantFlow = instantFlow;
    }

    public BigDecimal getInstantFlow() 
    {
        return instantFlow;
    }
    public void setEasIonID(String EasIonID) 
    {
        this.EasIonID = EasIonID;
    }

    public String getEasIonID() 
    {
        return EasIonID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("TerminalID", getTerminalID())
            .append("tenantId", getTenantId())
            .append("TotalFlow", getTotalFlow())
            .append("CreateDate", getCreateDate())
            .append("ReadDate", getReadDate())
            .append("ID", getID())
            .append("ForwardFlow", getForwardFlow())
            .append("ReverseFlow", getReverseFlow())
            .append("instantFlow", getInstantFlow())
            .append("EasIonID", getEasIonID())
            .toString();
    }
}
